<template>
  <div>
    <div class="header">
      <div class="serch">
      <select name="" id="">
        <option value="">上海</option>
      </select>
      <van-icon name="search" />
      <input type="text" placeholder="请输入校区名字或地址">
      <div class="map"><van-icon name="location-o" size="30" color="#ccc"/></div>
    </div>
    </div>
    <div class="title">
      <div>
        <span>区域</span>
        <select name="" id="">
          <option value=""></option>
        </select>
      </div>
      <div>
        <span>方式</span>
        <select name="" id="">
          <option value=""></option>
        </select>
      </div>
      <div>
        <span>租金</span>
        <select name="" id="">
          <option value=""></option>
        </select>
      </div>
      <div>
        <span>筛选</span>
        <select name="" id="">
          <option value=""></option>
        </select>
      </div>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.header {
  width: 100%;
  height: 50px;
  background-color: #21B97A;
}
.serch {
  position: absolute;
  top:10px;
  left: 20px;
  width: 80%;
  height: 30px;
  background-color: #fff;
}
input {
  position: absolute;
  top:6px;
  left:60px;
  width: 60%;
  height: 20px;
  border: none;
}
select {
  height: 30px;
  line-height: 30px;
  border: none;
  border-right: 1px solid #ccc;
}
.map {
  width: 30px;
  height: 30px;
  background-color: #fff;
  position: absolute;
  top: 2px;
  left:310px;
  border-radius: 50%;
}
.title {
  margin-left: 20px;
  margin-right: 20px;
  display: flex;
  justify-content: space-between;
}
</style>
